<template>
  <van-list :finished="finished" finished-text="没有更多了">
    <van-cell
      v-for="item in list"
      :key="item"
      :title="item"
      @click="cellClick(item)"
    />
  </van-list>
</template>
 
<script>
export default {
  props: ["list"],
  data() {
    return {
      finished: true,
    };
  },
  methods: {
    cellClick(item) {
      this.$emit("cellClick", item);
    },
  },
};
</script>

<style lang="less" scoped>
</style>